﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace EOffice.Presentation
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            System.Media.SoundPlayer sp = new System.Media.SoundPlayer(EOffice.Properties.Resources.Audiobuzz);
            EOffice.Business.Process.buzz(this, sp);
            pbStatus.StartAnimation();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            pbStatus.ProgressPainter = Painter2;
            pbStatus.StartAnimation();
        }
    }
}
